package com.yanqu.road.logic.bussiness.config;

import com.yanqu.road.entity.config.goods.MammonConfig;
import com.yanqu.road.entity.decoration.MammonTypeSwitch;
import com.yanqu.road.logic.bussiness.DaoHelper;
import com.yanqu.road.entity.config.player.DecorationInfo;

import java.util.List;
import java.util.Map;

public class DecorationBussiness {

    public static void getDecorationInfoMap(Map<Integer, Map<Integer, DecorationInfo>> decorationInfoTypeMap, Map<Integer, DecorationInfo> decorationInfoMap){
        DaoHelper.getDecorationDaoImpl().getDecorationInfoMap(decorationInfoTypeMap, decorationInfoMap);
    }

    public static Map<Integer, MammonConfig> getMammonConfigMap(){
        return DaoHelper.getMammonConfigDaoImpl().getMammonConfigMap();
    }

    public static List<MammonTypeSwitch> getMammonTypeSwitchDaoImpl(int channelId) {
        return DaoHelper.getMammonTypeSwitchDaoImpl().getMammonTypeSwitchList(channelId);
    }
}
